<%@page import="java.util.HashMap"%>
<%@page import="com.jfinal.plugin.ehcache.CacheKit"%>
<%@page import="java.util.List"%>
<%@page import="com.qysoft.rapid.utils.DateUtil"%>
<%@page import="com.qysoft.rapid.utils.RenderHelper"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<%=RenderHelper.includedJavascript(request, "/static/plugin/My97DatePicker/WdatePicker.js")%>
<%=RenderHelper.includedStyle(request, "/static/plugin/jqgrid/css/ui.jqgrid.css") %>
<%=RenderHelper.includedStyle(request, "/static/plugin/jqgrid/css/jquery-ui.theme.min.css") %>
<%=RenderHelper.includedStyle(request, "/static/plugin/layer/skin/layer.css") %>
<%=RenderHelper.includedStyle(request, "/static/css/common.css") %>
<%
	String currentDate = DateUtil.getCurrentDateStr();
%>
<script type="text/javascript">
	var ctx = "<%=request.getContextPath()%>";
</script>
<title>采集设置</title>
</head>
<body>
<!-- 操作按钮区 -->
<div class="search_div">
    <form id="searchForm" action="">
        <span class="fl_r">
        <button type="button" class="_searchbtn" onclick="showAddCj();">新增采集</button>
        <button type="button" class="_btn" onclick="refreshGrid();">刷新</button>
        </span>
    </form>
</div>
<!-- 表格区 -->
<table id="listGrid"></table> 
<div id="gridPager"></div>
<!-- 通知通报表单 -->
<!-- 更多条件 -->
<div id="tztbContent" style="display: none;background-color: #F5F6FA;margin-top:-19px;padding-top:20px">
    <form id="cjForm" class="megbox_form">
        <dl class="megbox_dl">
            <dd>
            <label>网站名称：</label>
            <span class="megbox_span">
            <input id="webname" name="webname" class="{validate:{required:true,messages:{required:'网站名称为必填项！'}}} megbox_input"/>
            </span>
            </dd>
            <dd>
            <label>网站域名：</label>
            <span class="megbox_span">
            <input id="baseurl" name="baseurl" class="{validate:{required:true,messages:{required:'网站域名为必填项！'}}} megbox_input"/>
            </span>
            </dd>
        </dl>   
        <dl class="megbox_dl">
        	<dd>
            <label>采集企业：</label>
            <span class="megbox_span">
            <select id="qyscope" name="qyscope" class="megbox_select" onchange="resetFBDX();">
            	<option value="0">不采集</option>
            	<option value="1">所有税源企业</option>
            	<option value="2">所有上市公司</option>
            	<option value="3">非Q板上市公司</option>
            	<option value="4">Q板上市公司</option>
            </select>
			</span>
			</dd>       
			<dd>
            <label>采集区划：</label>
            <span class="megbox_span">
            <select id="qhscope" name="qhscope" class="megbox_select" onchange="resetFBDX();">
            	<option value="0">不采集</option>
            	<option value="1">所有行政区划</option>
            </select>
			</span>
			</dd>            
        </dl> 
        <dl class="megbox_dl">
        	<dd>            
        	<label>数据类型：</label>
            <span class="megbox_span" style="font-size: 12px;color: #3D3D3D;">
				<input id="moduleA" name="module" value="A" class="megbox_checkbox" type="checkbox" alt="上市公司信息">上市公司信息
        		<input id="moduleB" name="module" value="B" class="megbox_checkbox" type="checkbox" alt="重点税源企业">重点税源企业
        		<input id="moduleC" name="module" value="C" class="megbox_checkbox" type="checkbox" alt="煤炭经营信息">煤炭经营信息
        		<input id="moduleD" name="module" value="D" class="megbox_checkbox" type="checkbox" alt="电力经营信息">电力经营信息
        		<input id="moduleE" name="module" value="E" class="megbox_checkbox" type="checkbox" alt="重点工程投资">重点工程投资
			</span>
			</dd>       
        </dl> 
        <dl class="megbox_dl">
            <dd>
            <label>处理类名：</label>
            <span class="megbox_span">
            <input id="clsname" name="clsname" class="{validate:{required:true,messages:{required:'处理类名为必填项！'}}} megbox_input"/>
            </span>
            </dd>
        </dl> 
        <dl class="megbox_dl">
            <dd>
                <p class="fl_r" style="padding-top:10px;">
                    <button style="margin-left: 320px;" type="button" class="_masterbtn" onclick="saveCJXX();">保存</button>
                    <button type="button" class="_btn" onclick="formReset('cjForm');">重置</button>
                    <button type="button" class="_btn" onclick="qyClose();">关闭</button>
                </p>
            </dd>
        </dl>
    </form>
</div>
<%=RenderHelper.includedJavascript(request, "/static/plugin/jquery.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/plugin/jquery.form.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/plugin/jqgrid/jquery.jqGrid.min.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/plugin/jqgrid/grid.locale-cn.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/plugin/layer/layer.js") %>
<%=RenderHelper.includedJavascript(request, "/static/plugin/validate/jquery.validate.min.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/plugin/validate/jquery.metadata.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/plugin/validate/messages_cn.js") %> 
<%=RenderHelper.includedJavascript(request, "/static/js/common.js") %>
<%=RenderHelper.includedAutoJavascript(request)%> 

</body>
</html>